package com.duobaoyu.dby.supply.biz.service.invoice;

import com.duobaoyu.dby.supply.common.biz.dto.invoice.InvoiceSettingDTO;
import com.duobaoyu.dby.supply.common.biz.dto.invoice.InvoiceSettingQueryDTO;
import com.duobaoyu.dby.supply.db.entity.invoice.InvoiceSetting;

import java.util.List;

/**
 * 发票信息
 *
 * @author fengshaoyu
 * @version 1.0.0
 * @date 2023/10/12 11:17
 */
public interface InvoiceSettingService {

	/**
	 * 获取发票信息
	 * @param channelCode
	 * @return
	 */
	InvoiceSetting getInvoiceSettingCacheByChannelCode(String channelCode);

	List<InvoiceSetting> selectList(InvoiceSettingQueryDTO invoiceSettingQuery);

    boolean addSetting(InvoiceSettingDTO invoiceSetting);

	boolean updateSetting(InvoiceSettingDTO invoiceSetting);

	boolean deleteById(Long id);
}
